package main

import (
	"github.com/energye/energy/v2/cef"
	"webpage-craw/assets"
	"webpage-craw/src/application"
	"webpage-craw/src/env"
)

// go build -ldflags="-s -w -H windowsgui" -tags="prod"
// go build -ldflags="-s -w -H windowsgui"
func main() {
	println("helper process env = dev:", env.IsENV)
	cef.GlobalInit(nil, assets.Assets())
	app := application.GetApplication()
	app.StartSubProcess()
	app.Free()
}
